<?php
class DataAction extends CommonAction {
	function index(){
		$this->listmap = '';
		$this->listmap .= 'product_id ='.$this->_get('id');
		$this->product_id = $this->_get('id');
        parent::_list();
		$this->display();
	}
	public function add(){
		$this->product_id = $this->_get('product_id');
		parent::add();
	}
	public function insert(){
		$_POST['datetime']= strtotime($this->_post('datetime'));
		parent::insert();
	}
	public function update(){
		$_POST['datetime']= strtotime($this->_post('datetime'));
		parent::update();
	}
}

?>